From: Georges Basile Stavracas Neto Date: Thu, 10 Aug 2023 19:57:47 +0000 (-0300) Subject: workspaceAnimation: Notify 'progress' property properly X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~320^2^2~109 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f1db3498ebbf0d4961385685047fcf1a07dd500c;p=gnome-shell.git workspaceAnimation: Notify 'progress' property properly The getter of the MonitorGroup's 'progress' property sets some values based on it, but doesn't notify the property change. Fix that by calling this.notify('progress') when the setter is called. Part-of: --- diff --git a/js/ui/workspaceAnimation.js b/js/ui/workspaceAnimation.js index ab405b35d..93be07e2c 100644 --- a/js/ui/workspaceAnimation.js +++ b/js/ui/workspaceAnimation.js @@ -214,6 +214,8 @@ const MonitorGroup = GObject.registerClass({ this._container.x = Math.round(p * this.baseDistance); else this._container.x = -Math.round(p * this.baseDistance); + + this.notify('progress'); } get index() {